PART
{
	name = ATGreenhouse125M
	module = Part
	author = panarchist, Atomikku
	
	MODEL
	{
		model = AtomicTech/radioactiveGreenhouse/Assets/Greenhouse
	}
	rescaleFactor = 0.625
	node_stack_top = 0.0,2.2,0.0,0.0,1.0,0.0,3
	node_stack_bottom = 0.0,-2.2,0.0,0.0,-1.0,0.0,3	
	node_attach = 1.875,0.0,0.0,1.0,0.0,0.0,1
	
	TechRequired = advConstruction
	entryCost = 0
	cost = 6500
	category = Utility
	subcategory = 0
	title = Orbital "Vegemite Canning Facility" Greenhouse Module
	manufacturer = AtomicTech Inc.
	description = The 1.25 Meter Orbital Greenhouse Module is a rigid greenhouse for growning fresh food. Opening the shutters allows the greenhouse to use an advanced type of bioelectricity generator.
	
	tags = PSA panarchist lifesupport snacks at atomic tech atomictech greenhouse

	attachRules = 1,1,1,1,0
	mass = 2.25
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 8
	breakingForce = 500
	breakingTorque= 500
	maxTemp = 2000
	bulkheadProfiles = size2
	CrewCapacity = 1

	INTERNAL
	{
		name = mk1PodCockpit
	}	
	
	MODULE
	{
		name = ModuleDeployableSolarPanel
		animationName = door
		startEventGUIName = Open Shutters
		endEventGUIName = Close Shutters		
		animSwitch = True
		sunTracking = true
		raycastTransformName = glass
		pivotName = glass
		isBreakable = false
		resourceName = ElectricCharge
		chargeRate = 2.2
		powerCurve
		{
			key = 206000000000 0 0 0
			key = 13599840256 1 0 0
			key = 68773560320 0.5 0 0
			key = 0 0 0 0
		}
	}

	RESOURCE
	{
		name = ElectricCharge
		amount = 750
		maxAmount = 750
	}

	vesselType = Station
}

@PART[ATGreenhouse125M]:NEEDS[Snacks]
{
  RESOURCE
  {
    name = Snacks
    amount = 2500
    maxAmount = 2500
  }
  RESOURCE
  {
    name = Soil
  	amount = 250
  	maxAmount = 250
  }
  MODULE
  {
    name = SoilRecycler
  	ConverterName = Snack Orbital Greenhouse [Soil]
  	StartActionName = Start Orbital Greenhouse [Soil]
		StopActionName = Stop Orbital Greenhouse [Soil]
  	AutoShutdown = false
		GeneratesHeat = false
    UseSpecialistBonus = true
    ExperienceEffect = ConverterSkill
    EfficiencyBonus = 1.0
    RecyclerCapacity = 4
    INPUT_RESOURCE
    {
      ResourceName = Soil
      Ratio = 0.00375
      FlowMode = ALL_VESSEL
  	}
   	INPUT_RESOURCE
  	{
      ResourceName = ElectricCharge
  		Ratio = 2.8125
      FlowMode = STAGE_PRIORITY_FLOW
  	}
    OUTPUT_RESOURCE
    {
      ResourceName = Snacks
      Ratio = 0.009375
      DumpExcess = false
      FlowMode = ALL_VESSEL
  	}
  }
}